package com.xuerhua.yxt.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xuerhua.yxt.model.MiddleStudentGrade;
import com.xuerhua.yxt.model.StudentSignUp;
import com.xuerhua.yxt.model.StudentSignupUser;
import com.xuerhua.yxt.page.Page;
import com.xuerhua.yxt.reqVo.SignupResultVO;

public interface IStudentSignUpService {

	int addAndUpdate(StudentSignUp record);

    StudentSignUp selectByPrimaryKey(Integer id);

    List<StudentSignUp> selectListByPage(Page<StudentSignUp> page);
    
    List<StudentSignUp> selectListByIds(String signupType,String ids);
    
    int updateSignupResult(SignupResultVO record);
    
    List<StudentSignUp> selectListByUserId(String signupType, Integer userId);
    
    StudentSignupUser selectUserForAdmin(String userAccount,String userPassword);
    
    int addStudentUser(StudentSignupUser record);
    
    MiddleStudentGrade selectMiddleStudentGrade(Integer schoolId);
    
    int updateMiddleStudentGrade(MiddleStudentGrade record);
    
    int updateBatchSignupStatus(List<StudentSignUp> list);

    int addAndUpdateNewStudent(StudentSignUp studentSignUp);

}
